package com.yunhe.abnormal.service.base;

import com.yunhe.common.model.data.AbnormalRuleFormulaObject;

import java.util.List;
import java.util.Map;

/**
 * @title: AbnormalRuleFormulaObjectService
 * @Author Chen Lun
 * @Date: 2021/1/29
 */
public interface AbnormalRuleFormulaObjectService {
    Map<String, List<AbnormalRuleFormulaObject>> findAllFormulaObject();
  
    List<AbnormalRuleFormulaObject> getRelatedFormulaObjectByPointNumber(Long pointNumber);

    List<Long> findAllFormulaMeasPointNumber();

    AbnormalRuleFormulaObject findByRuleAndLevel(Long ruleId, Long levelId);

    void clearFormulaObjectRedis();

    List<Long> getMeasPointNumbersByRuleId(Long ruleId);
}
